import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css';
// 引入pinia
import { createPinia } from 'pinia'
const pinia = createPinia()
// 引入路由
import { createRouter, createWebHistory } from "vue-router"
import routes from "./routes"

const router = createRouter({
  history: createWebHistory(),
  routes,
})

createApp(App).use(Antd).use(router).use(pinia).mount('#app')
